package com.stylefeng.guns.modular.computer.service;

import com.stylefeng.guns.common.persistence.model.Computer;
import com.stylefeng.guns.common.persistence.model.ComputerType;
import com.stylefeng.guns.common.persistence.model.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * computerService
 *
 * @author fengshuonan
 * @Date 2019-07-10 16:57:43
 */
public interface IComputerService {

    /**
     * 根据条件查询用户列表
     */
    List<Map<String, Object>> selectComputer(@Param("condition")String condition);

    int addComputer(Computer computer);

    int updateComputer(Computer computer);

    List<ComputerType> search(String name);




}
